Lockwright – Lock & Key Generator for Blender
add-on
Every lock and key in Blender: 43 types from house keys and skeleton keys to padlocks, door locks, bike locks and safes, with real key cuts, matching keys and keyable parts.
Explore all my Blender addons
Lockwright makes every kind of lock and key inside Blender. Pick a kind, click a picture and press Add: house keys with real bitting, Schlage and Kwikset blades, dimple, tubular, cross, disc and laser-cut keys, car keys, flip keys and smart fobs, warded skeleton keys and lever safe keys. Then the locks they open: laminated, brass, shrouded, discus, combination, luggage and heart padlocks, rim and mortise locks, deadbolts, knobs, lever sets and smart locks, U-locks, chain and cable bike locks, wall, floor, gun, hotel and antique bank safes, key safes, realtor lockboxes, cash boxes, a hasp and staple and a cabinet cam lock.
Every lock that takes a key comes with the key in its keyway, cut to the same code. One click on Matching Key adds that key as its own object next to the lock, ready for a close-up.
The moving parts are real separate objects with their pivots in the right place. Open the shackle, swing the safe door, turn the key, spin the dial or the number wheels and throw the bolt with three sliders you can keyframe. Nothing is driven by drivers, so the animation exports to game engines as plain object animation.
Key code
Type the cut depths, or press the shuffle button for a new code that a real key could have. Blades follow real blank specifications: cut spacing, depth steps and the largest step allowed between neighbouring cuts.
Condition
New, Used or Old. Used adds scratches and brushed wear, Old brings rust on steel, a brown and green patina on brass and chipped paint on safes, from photo textures.
Features
- 43 lock and key types in 8 kinds, 13 key bows and 61 ready-made presets with rendered picture galleries
- Real key cuts on 15 key styles, and the matching key for every keyed lock
- Open, Key Turn and Dial sliders that move real parts and can be keyframed
- 15 metal finishes (brass, satin nickel, chrome, hardened steel, black oxide, japanned iron, bronze and more) and paint colors
- New, Used and Old condition with photo-based rust, patina and scratches
- Game-ready meshes with three detail levels and Make Static
- Optional door, wall, planks or cabinet panel behind mounted locks
- Editing one design never changes a copy of it
- One-click Randomize for endless variations
- Works in Cycles and EEVEE
Requires Blender 4.2 or newer. Tested on Blender 4.2, 4.5 and 5.2 LTS.
How to use
Installation
In Blender open Edit, Preferences, Get Extensions, then use Install from Disk and pick the key_lock_generator zip.
Usage
- Open the Lockwright tab in the 3D viewport sidebar (N). With nothing selected you see the add screen: pick a kind (Key, Padlock, Door Lock, Bike Lock, Safe, Lock Box, Hardware or Key Ring), click the picture to choose a preset, then press Add. Shift+A, Lock & Key works too.
- Select a design to edit it. Click its picture to change the type, press Randomize for a new variation, or Matching Key to add the key that opens it.
- Set the Size and the New, Used or Old condition. The sections below hold Shape, Key (key code, blank, bow), Materials, Animation and Detail & Export.
- To animate, hover the Open, Key Turn or Dial slider and press I to set a keyframe, change the frame and the value, and press I again.
- Make Static keeps the meshes as plain objects; Delete removes the design with all its parts.
FAQ
Which Blender versions are supported?
Blender 4.2 and newer. It is tested on Blender 4.2, 4.5 and 5.2 LTS.
Can I use the locks in a game engine?
Yes. Every moving part is its own mesh object with its pivot at the hinge or axle, there are no drivers or modifiers, and the Game detail level keeps the polygon count low. Keyframed parts export as object animation in FBX or glTF.
Does the key really fit the lock?
The key in the keyway and the one Matching Key adds share the lock's key code, blank and keyway, so a close-up shows the same cuts. They are models for rendering and games, not for cutting real keys.