Lock bits are binary numbers that when selected, are used to lock doors when creating missions using the GoldenEye Setup Editor.
Each bit acts as a different lock. Doors have a total of 32 possible lock bits.
80000000
40000000
20000000
10000000
08000000
04000000
02000000
01000000
00800000
00400000
00200000
00100000
00080000
00040000
00020000
00010000
00008000
00004000
00002000
00001000
00000800
00000400
00000200
00000100
00000080
00000040
00000020
00000010
00000008
00000004
00000002
00000001
An example using locks is shown below.
Keycard A has lock bit 10000000 and Door A has lock bit 10000000, this is a full lock, so when the player picks up Keycard A, Door A will unlock.
You can also combine locks so more than one key is needed. If Door B has a lock 10000008, they will need Keycard A that unlocks 10000000 and Keycard B set to unlock 00000008.
You can also make a master keycard that opens any locked door by settings its lock bits to FFFFFFFF.
Action blocks only allow you to change a maximum of 8 bits. Only these can be toggled:
00000080
00000040
00000020
00000010
00000008
00000004
00000002
00000001
Keys have all 32 bits available, so there are times when only a key can be made to open a door.